﻿using Basic.HrRemoteModel.Msg.Model;

namespace Basic.FlowExtendService
{
    public interface IMsgService
    {
        void Send ( MsgAdd add, ToVoidItem toVoid );
        bool Send ( List<MsgAdd> adds, List<ToVoidItem> toVoids, List<MsgItem> done, out string error );
        void ToVoidMsg ( string LinkType, long linkPk, string tag );
        void MsgDone ( string LinkType, long linkPk, string tag );
        bool SendMsg ( MsgAdd add, out string error );
        void SendMsg ( MsgAdd add );
        void ToVoidMsg ( ToVoidItem[] msgs );
    }
}